from apps.common.base.serializers import *
from apps.interface.tabbarItem.models import *


class TabbarItemBaseSerializer(BaseSerializer):
    class Meta:
        model = TabbarItem
        fields = "__all__"


class TabbarItemModelSerializer(BaseSerializer):

    class Meta:
        model = TabbarItem
        fields = ('id', 'lessee', 'path', 'name', 'key', 'activeIcon', 'inactiveIcon', 'activeColor', 'inactiveColor', 'sort', 'isShow')
